package com.xinxing.city.recovery.entitys;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

import com.xinxing.city.recovery.BR;

public class Devena  extends BaseObservable{
    //电子秤
    private boolean electronicScale;
    //电子锁
    private boolean electronicLock;
    //桶满溢
    private boolean bucketOverflow;
    //桶摄像头
    private boolean bucketCamera;
    //网络环境
    private boolean network;
    //灯
    private boolean lamp;
    //环境监控
    private boolean aroundCamera;
    //人脸识别
    private boolean faceRecognition;
    //电表
    private boolean ammeter;
    //打印机
    private boolean printer;
    //智慧屏
    private boolean screen;
    @Bindable
    public boolean isElectronicScale() {
        return electronicScale;
    }

    public void setElectronicScale(boolean electronicScale) {
        this.electronicScale = electronicScale;
        notifyPropertyChanged(BR.electronicScale);
    }
    @Bindable
    public boolean isElectronicLock() {
        return electronicLock;
    }

    public void setElectronicLock(boolean electronicLock) {
        this.electronicLock = electronicLock;
        notifyPropertyChanged(BR.electronicLock);
    }
    @Bindable
    public boolean isBucketOverflow() {
        return bucketOverflow;
    }

    public void setBucketOverflow(boolean bucketOverflow) {
        this.bucketOverflow = bucketOverflow;
        notifyPropertyChanged(BR.bucketOverflow);
    }
    @Bindable
    public boolean isBucketCamera() {
        return bucketCamera;
    }

    public void setBucketCamera(boolean bucketCamera) {
        this.bucketCamera = bucketCamera;
        notifyPropertyChanged(BR.bucketCamera);
    }
    @Bindable
    public boolean isNetwork() {
        return network;
    }

    public void setNetwork(boolean network) {
        this.network = network;
        notifyPropertyChanged(BR.network);
    }
    @Bindable
    public boolean isLamp() {
        return lamp;
    }

    public void setLamp(boolean lamp) {
        this.lamp = lamp;
        notifyPropertyChanged(BR.lamp);
    }
    @Bindable
    public boolean isAroundCamera() {
        return aroundCamera;
    }

    public void setAroundCamera(boolean aroundCamera) {
        this.aroundCamera = aroundCamera;
        notifyPropertyChanged(BR.aroundCamera);
    }
    @Bindable
    public boolean isFaceRecognition() {
        return faceRecognition;
    }

    public void setFaceRecognition(boolean faceRecognition) {
        this.faceRecognition = faceRecognition;
        notifyPropertyChanged(BR.faceRecognition);
    }
    @Bindable
    public boolean isAmmeter() {
        return ammeter;
    }

    public void setAmmeter(boolean ammeter) {
        this.ammeter = ammeter;
        notifyPropertyChanged(BR.ammeter);
    }
    @Bindable
    public boolean isPrinter() {
        return printer;
    }

    public void setPrinter(boolean printer) {
        this.printer = printer;
        notifyPropertyChanged(BR.printer);
    }
    @Bindable
    public boolean isScreen() {
        return screen;
    }

    public void setScreen(boolean screen) {
        this.screen = screen;
        notifyPropertyChanged(BR.screen);
    }
}
